Skip to content

feat(catalogue): run LongMemEval on one question type - #32

Merged
aitianshi merged 1 commit into
mainfrom
longmemeval-question-type
Nov 10, 2026
Merged

aitianshi merged 1 commit into
mainfrom
longmemeval-question-type

Conversation

@aitianshi

Copy link
Copy Markdown
Collaborator

Closes #15

What

LongMemEval gets a question_type option: all (the default, every question as today) or one of the dataset's six types (knowledge-update, temporal-reasoning, multi-session, single-session-user, single-session-assistant, single-session-preference). The driver's units() keeps only that type's questions, abstention ones included (their question_type is the base type's), in dataset order; the runner applies --shard and --limit after units(), so the filter comes first. The option applies to every setup (Original, the model setup and any memory). The type is read while the line index is built, so no extra pass over the file. The settings inventory names it, the benchmark's docs page is regenerated, and the test pinning LongMemEval's default options now includes it.

Touches

catalogue · docs and site

Verified

  • New driver tests in app/tests/test_longmemeval_setups.py (against the suite's fake upstream): one type keeps that type's questions with its abstention variant, in order; no option and all keep every question; the option resolves for all three setups.
  • The real longmemeval_oracle.json (pinned sha256 matched), through the driver's units: knowledge-update 78 (6 abstention), all 500; the other types 133, 133, 70, 56, 30.
  • Backend suite python3 app/tests/parallel.py and route suite app/ui_tests, OK.
  • Not checked in the browser: the builder shows the new option like LongMemEval's others.

Risk

A recipe that names no question type gets all, today's behaviour. Each dataset entry's units: 500 still counts the whole file, so an estimate shown before a filtered run can overstate its size. Undone by a revert.

A question_type option keeps one type's questions, abstention ones
included, in dataset order and before --limit. The default, all, runs
every question as before.
@github-actions

Copy link
Copy Markdown

🟢 PR judge · 7 of 7 yes · #32 ↔ #15

Merge risk 🟡 MEDIUM the judge's reading of the diff
Priority 🟡 MEDIUM the deepest path is app/nullius/catalogue/benchmarks/longmemeval/driver.py
Question Verdict
Changes do what the issue asks · 2 of 2 criteria ✅ yes
Issue and pull request describe the same change ✅ yes
Description matches the diff, no more, no less ✅ yes
Diff stays in scope ✅ yes
Tests cover the change, or Verified says how ✅ yes
Docs follow the change ✅ yes
Risk named in the description ✅ yes
Before and after shown –
Acceptance criteria, 2 of 2 met
# Criterion Verdict
1 --bench-option question_type=knowledge-update on longmemeval_oracle runs exactly its 78 knowledge-update questions. ✅ met
2 Without the option, the run covers every question, as today. ✅ met
Checks the script runs itself, 4 of 4 pass
No machine attribution trailer in the commits or the description ✓
New code under app/, docs/, .github/ or .claude/ ✓
No Flask import under the backend package ✓
No key-shaped string in the diff ✓

@aitianshi aitianshi changed the title Run LongMemEval on one question type feat(catalogue): run LongMemEval on one question type Nov 10, 2026
aitianshi added a commit that referenced this pull request Nov 10, 2026
## What

Pull request titles become conventional commit subjects, `type(scope):
summary`. The repository squash-merges with the PR title as the commit
subject, so the title is what `main`'s history shows. AGENTS.md states
the rule with its types (`feat`, `fix`, `perf`, `refactor`, `docs`,
`test`, `ci`, `build`, `chore`, `revert`) and scopes (the parts of
Nullius), and the `/file-issue` skill, which assistants use to open PRs,
applies it. No check enforces it.

## Touches

docs and site · CI and skills

## Verified

- Backend suite `python3 app/tests/parallel.py`, OK.
- The open PRs #29, #30, #32 and #34 already use the form.

## Risk

Documentation only; earlier commit subjects on `main` are not rewritten.
Undone by a revert.
@aitianshi
aitianshi merged commit d28f6ef into main Nov 10, 2026
2 checks passed
@aitianshi
aitianshi deleted the longmemeval-question-type branch November 10, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run LongMemEval on one question type

1 participant